﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using Microsoft.Windows.Controls.Ribbon;

namespace CECB
{
    /// <summary>
    /// Interaction logic for RibbonWindow1.xaml
    /// </summary>
    public partial class RibbonWindow1 : RibbonWindow
    {
        public RibbonWindow1()
        {
            InitializeComponent();

            // Insert code required on object creation below this point.
        }

        private void ApplicationMenuItemClick(object sender, RoutedEventArgs e)
        {
            App.Current.Shutdown();
        }

        private void MenuItemLogoff_Click(object sender, RoutedEventArgs e)
        {
            new Login_Window().Show();
        }

        private void ribbonButton1_Click(object sender, RoutedEventArgs e)
        {

            Member_Window mem = new Member_Window();
            mem.ShowDialog();
        }

        private void ribbonButton2_Click(object sender, RoutedEventArgs e)
        {
            Email_Window eml = new Email_Window();
            eml.ShowDialog();
        }

        private void ribbonButton3_Click(object sender, RoutedEventArgs e)
        {
            Project_Window prj = new Project_Window();
            prj.ShowDialog();
        }

        private void ribbonButton4_Click(object sender, RoutedEventArgs e)
        {
            Team_Window tem = new Team_Window();
            tem.ShowDialog();
        }

        private void ribbonButton5_Click(object sender, RoutedEventArgs e)
        {
            ProjectActivities_Window act = new ProjectActivities_Window();
            act.ShowDialog();
        }
    }
}
